<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Java智能快速开发框架 - 登录</title>
    <base id="base" href="/">
    <link rel="stylesheet" href="css/common/public.css">
    <style type="text/css">
        body{
            background: url('img/login/login_bg.jpg') no-repeat;background-size: cover;
        }
    </style>
    <script type="text/javascript">
        if(window.top !== window.self){
            window.top.location = window.location;
        }
    </script>


</head>

<body class="gray-bg">
    <div id="app" class="middle-box text-center loginscreen  animated fadeInDown" style="padding-top: 200px" v-cloak>
        <div>
            <h3>Java智能快速开发框架</h3>
            <div v-if="error" class="alert alert-danger alert-dismissible">
                <h4 style="margin-bottom: 0px;"><i class="fa fa-exclamation-triangle"></i> {{errorMsg}}</h4>
            </div>
            <form class="m-t" role="form">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名"  v-model="username">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="密码" v-model="password">
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="验证码" v-model="captcha" @keyup.enter="login">
                </div>
                <div class="form-group has-feedback">
                    <img alt="如果看不清楚，请单击图片刷新！" :src="src" @click="refreshCode" class="pointer"/>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="javascript:;" @click="refreshCode">点击刷新</a>
                </div>
                <button type="button" class="btn btn-primary block full-width m-b" @click="login">登 录</button>
            </form>
        </div>
    </div>
</body>
<script type="text/javascript" src="js/common/public.js"></script>
<script src="js/modules/login/login.js"></script>
</html>
